﻿@using Entities;
@model IEnumerable<BotRecipient>
@foreach (BotRecipient item in Model)
{
    using (Ajax.BeginForm(MVC.Bots.Notifications.RemoveRecepient(), new AjaxOptions { UpdateTargetId = "Recipients" }))
    {
    <p>@item.RecipientName</p>
    <p>@item.RecipientEmail</p>
    <input id="RecipientName" name="RecipientName" type="hidden" value='@item.RecipientName' />
    <input id="RecipientEmail" name="RecipientEmail" type="hidden" value='@item.RecipientEmail' />
    <input type="submit" value='@WebUI.Resources.Delete' />
    }
}